package com.jt.tenant.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.jt.tenant.R;
import com.jt.tenant.app.JTApplication;
import com.jt.tenant.conn.GetDiagnosticCar;
import com.jt.tenant.dialog.TipDialog;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.util.UtilToast;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import pl.droidsonroids.gif.AnimationListener;
import pl.droidsonroids.gif.GifDrawable;
import pl.droidsonroids.gif.GifImageView;

/**
 * Created by Administrator on 2016/3/11.
 */
public class HomeInfoDetailActivity extends JTActivity implements View.OnClickListener{

    private TextView tv_title,tv_name,tv_time,tv_detail;

    private Bundle bundle = new Bundle();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_home_info_detail);

        bundle = getIntent().getExtras();

        init_view();

    }

    private void init_view() {

        tv_title = (TextView)findViewById(R.id.tv_home_info_title);

        tv_name = (TextView)findViewById(R.id.tv_home_info_name);

        tv_time = (TextView)findViewById(R.id.tv_home_info_time);

        tv_detail = (TextView)findViewById(R.id.tv_home_info_detail);

        tv_title.setText("道路信息");

        tv_name.setText(bundle.getString("name"));

        tv_time.setText(bundle.getString("time"));

        tv_detail.setText(bundle.getString("detail"));

    }

}
